interface ResponseProps {
    data: any;
    message: string;
    code: number;
}
export const GoodResponse = (data: any, message = '请求成功') => {
    const response: Partial<ResponseProps> = { code: 200, message };
    if (data !== undefined) response.data = data;
    return response;
};
